/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-03-26 02:58:38
 * @LastEditors: Sam
 * @LastEditTime: 2022-05-06 02:29:00
 */
import Layout from '@/layout'

export default {
 alwaysShow: true,
 redirect: 'noRedirect',
  path: '/survey',
  component: Layout,
  name :'survey',
  meta: {
    title: '问卷管理',
    icon: 'el-icon-s-flag',
    roles: [
      'survey'
    ]
  },
  children: [
    { path: '/survey/index', component: ()=>import('@/views/survey/index'), name: 'survey_index', meta: { title: '主题列表',roles: ['survey.theme'] }},
    { path: '/survey/question', component: ()=>import('@/views/survey/question/index'), name: 'survey_question', meta: { title: '题目管理',roles: ['survey.question'] }},
    { path: '/survey/record', component: ()=>import('@/views/survey/record'), name: 'survey_record', meta: { title: '回答记录',roles: ['survey.record'] }}
  ]
}
